/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package espe.ccsoft.models.clavesforaneas;

import java.io.Serializable;
import javax.persistence.Embeddable;

/**
 *
 * @author misahaelfernandez
 */
@Embeddable
public class PermisoRolPK implements Serializable {
    private int id_permiso;
    private int id_rol;

    public PermisoRolPK() {
    }

    public PermisoRolPK(int id_permiso, int id_rol) {
        this.id_permiso = id_permiso;
        this.id_rol = id_rol;
    }

    public int getId_permiso() {
        return id_permiso;
    }

    public void setId_permiso(int id_permiso) {
        this.id_permiso = id_permiso;
    }

    public int getId_rol() {
        return id_rol;
    }

    public void setId_rol(int id_rol) {
        this.id_rol = id_rol;
    }
}
